import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class Test11 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Wrap(
        children: List.generate(10, (index) {
          double width = 50.00 + index * 10;
          return Container(
            width: width,
            height: 50,
            color: Colors.primaries[index],
            child: Text("$index"),
          );
        }),
      ),
    );
  }
}
